﻿using System;
using DimensionsHelper.Common.Contracts.Table;

namespace DimensionsHelper.Common.Table;

public class TableFinishedEventArgs : EventArgs
{
    public TableFinishedEventArgs(ITable table, int index)
    {
        Table = table;
        Index = index;
    }

    /// <summary>
    ///     当前已完成的表格对象。
    /// </summary>
    public ITable Table { get; }

    /// <summary>
    ///     <see cref="Table" />所对应的集合索引，此索引是表格计数。
    /// </summary>
    public int Index { get; }
}